#ifndef NETSTATLISTMODEL_H
#define NETSTATLISTMODEL_H

#include "listmodel.h"
#include "netstatitemmodel.h"

class NetStatListModel : public ListModel
{
    Q_OBJECT
public:
    explicit NetStatListModel(QObject *parent = 0);
    
    void append( QString &_nsNetstat,
                             QString &_nsPic,
                             QString &_nsSDesc,
                             QString &_nsLDesc,
                             QString &_procPath,
                             QString &_procName,
                             QString &_nsPid,
                             QString &_nsLAddr,
                             QString &_nsLPort,
                             QString &_nsFAddr,
                             QString &_nsFPort );
    void append( NetStatItemModel *item );
    void remove( int index );
    Q_INVOKABLE int count();

    void clearList();
signals:
    
public slots:
    
};

#endif // NETSTATLISTMODEL_H
